﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001501 RID: 5377
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGameExplodeMonsterScRsp : IMessage<WolfBroGameExplodeMonsterScRsp>, IMessage, IEquatable<WolfBroGameExplodeMonsterScRsp>, IDeepCloneable<WolfBroGameExplodeMonsterScRsp>, IBufferMessage
	{
		// Token: 0x170043B3 RID: 17331
		// (get) Token: 0x0600F091 RID: 61585 RVA: 0x002821F8 File Offset: 0x002803F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGameExplodeMonsterScRsp> Parser
		{
			get
			{
				return WolfBroGameExplodeMonsterScRsp._parser;
			}
		}

		// Token: 0x170043B4 RID: 17332
		// (get) Token: 0x0600F092 RID: 61586 RVA: 0x002821FF File Offset: 0x002803FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGameExplodeMonsterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043B5 RID: 17333
		// (get) Token: 0x0600F093 RID: 61587 RVA: 0x00282211 File Offset: 0x00280411
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGameExplodeMonsterScRsp.Descriptor;
			}
		}

		// Token: 0x0600F094 RID: 61588 RVA: 0x00282218 File Offset: 0x00280418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameExplodeMonsterScRsp()
		{
		}

		// Token: 0x0600F095 RID: 61589 RVA: 0x00282220 File Offset: 0x00280420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameExplodeMonsterScRsp(WolfBroGameExplodeMonsterScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F096 RID: 61590 RVA: 0x00282245 File Offset: 0x00280445
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGameExplodeMonsterScRsp Clone()
		{
			return new WolfBroGameExplodeMonsterScRsp(this);
		}

		// Token: 0x170043B6 RID: 17334
		// (get) Token: 0x0600F097 RID: 61591 RVA: 0x0028224D File Offset: 0x0028044D
		// (set) Token: 0x0600F098 RID: 61592 RVA: 0x00282255 File Offset: 0x00280455
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600F099 RID: 61593 RVA: 0x0028225E File Offset: 0x0028045E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGameExplodeMonsterScRsp);
		}

		// Token: 0x0600F09A RID: 61594 RVA: 0x0028226C File Offset: 0x0028046C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGameExplodeMonsterScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F09B RID: 61595 RVA: 0x0028229C File Offset: 0x0028049C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F09C RID: 61596 RVA: 0x002822DB File Offset: 0x002804DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F09D RID: 61597 RVA: 0x002822E3 File Offset: 0x002804E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F09E RID: 61598 RVA: 0x002822EC File Offset: 0x002804EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F09F RID: 61599 RVA: 0x00282320 File Offset: 0x00280520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F0A0 RID: 61600 RVA: 0x0028235E File Offset: 0x0028055E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGameExplodeMonsterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F0A1 RID: 61601 RVA: 0x0028238F File Offset: 0x0028058F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F0A2 RID: 61602 RVA: 0x00282398 File Offset: 0x00280598
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005EFB RID: 24315
		private static readonly MessageParser<WolfBroGameExplodeMonsterScRsp> _parser = new MessageParser<WolfBroGameExplodeMonsterScRsp>(() => new WolfBroGameExplodeMonsterScRsp());

		// Token: 0x04005EFC RID: 24316
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005EFD RID: 24317
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04005EFE RID: 24318
		private uint retcode_;
	}
}
